package com.homeWork02;

public class Test {
    public static void main(String[] args) {
        MyRunnable mr=new MyRunnable();
        Thread t1=new Thread(mr);
        Thread t2=new Thread(mr);

        t1.setName("小米");
        t2.setName("小话");

        t1.start();
        t2.start();
    }
}
